package com.kch.web.controller.common;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class CheckNumberUtils {

    private static final String pattern = "\\d+";

    public static boolean check(String num){
        Pattern r = Pattern.compile(pattern);
        Matcher m = r.matcher(num);

        if (m.find()) {
            return true;
        } else {
            return false;
        }
    }
}
